/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.techshop.dao;

import com.techshop.model.Order;
import java.util.List;

/**
 *
 * @author Hai-PC
 */
public interface OrderDao
{
    public Order getById(int deliveryNoteId);
    public List<Order> getAll();
    public List<Order> search(String phone, String date, boolean state, int storeId);
    public List<Order> searchNotStore(String phone, String date, boolean state);
    public boolean insert(Order deliveryNote);
    public boolean update(Order deliveryNote);
    public boolean delete(Order deliveryNote);
}